package cn.xq.pethome.base.mapper;


import cn.xq.pethome.base.query.BaseQuery;

import java.util.List;

public interface BaseMapper<T> {
    void insert(T t);
    void delete(Long id);
    void update(T t);
    T fingone(Long id);
    List<T> fingall();
    List<T> findquery(BaseQuery baseQuery);
    Long fingquerycount(BaseQuery baseQuery);
    Long findByParentId(Long id);
    void batchDelete(List<Long> ids);
}
